package com.example.dormitorysystem.service;

import com.example.dormitorysystem.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.dormitorysystem.entity.pojo.OrderListsOutput;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 吉吉王国组
 * @since 2022-11-26
 */
public interface OrdersService extends IService<Orders> {

    Map<String, Object> create(Map<String, Object> input, HttpServletRequest request, HttpServletResponse response);

    List<OrderListsOutput> orderLists(HttpServletRequest request, HttpServletResponse response);

    Map<String, Object> getOrderInfo(Integer orderId, HttpServletRequest request, HttpServletResponse response);
}
